package com.donlim.dev.dto.sql;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.List;

/**
 * Created by 星 on 2020/11/3
 */
@Getter
@Setter
public class SQLParams {

    //表名(暂时不用)
    private String tableName;

    //等于
    private HashMap<String,Object> allEq;
    //不等于
    private List<SQLParam> ne;
    //大于
    private List<SQLParam> gt;
    //小于
    private List<SQLParam> lt;

    private List<SQLParam> between;
    private List<SQLParam> notBetween;

    //模糊like
    private List<SQLParam> like;

    //排序
    private String[] orderByAsc;
    private String[] orderByDesc;

    //分页
    private boolean page;
    private Integer current;
    private Integer size;
}
